<?php //$Id: logging.php,v 1.1.1.1 2014/08/23 06:57:06 ymlam Exp $ Copyright (C) 2014 Link2Tek LLC ?>
<?php
  // Set up log4php with logger MAIN.
  include_once "/var/www/lib/log4php/Logger.php";
  include_once dirname(__FILE__).'/session_start.php';
  $config_dir = $_SESSION['config_dir'];
  $log4php_properties = "$config_dir/log4php.properties";
  date_default_timezone_set('America/New_York');
  Logger::configure($log4php_properties);
  $logger = Logger::getLogger('MAIN');
?>
